package com.mmd.common.mapper;

import com.mmd.common.entity.MmdQuotationHistory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MmdQuotationHistoryMapper {
    int insert(MmdQuotationHistory record);

    MmdQuotationHistory selectByPrimaryKey(Long historyId);

    int updateByPrimaryKeySelective(MmdQuotationHistory record);

    List<MmdQuotationHistory> selectByKeySelective(MmdQuotationHistory record);

    int updateByPrimaryKey(MmdQuotationHistory record);

    Long getLastHistoryId(@Param("quotationNo") String quotationNo);
}